inherited fmQuotationInfo: TfmQuotationInfo
  Caption = #25253#20215#36164#26009
  ClientWidth = 1071
  ExplicitWidth = 1079
  ExplicitHeight = 593
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    Width = 871
    ExplicitWidth = 871
    inherited lblCreateDate: TRzDBLabel
      Left = 746
      Top = 496
      DataField = 'dq_createdate'
      DataSource = dsBase
      ExplicitLeft = 746
      ExplicitTop = 496
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 746
      Top = 476
      DataField = 'dq_createstaff'
      DataSource = dsBase
      ExplicitLeft = 746
      ExplicitTop = 476
    end
    object cxDBLabel1: TRzDBLabel [2]
      Left = 348
      Top = 476
      Width = 65
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dq_checkstate'
      DataSource = dsBase
    end
    object cxDBLabel2: TRzDBLabel [3]
      Left = 479
      Top = 476
      Width = 65
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dq_state'
      DataSource = dsBase
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 610
      Top = 496
      DataField = 'dq_modifydate'
      ExplicitLeft = 610
      ExplicitTop = 496
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 610
      Top = 476
      DataField = 'dq_modifystaff'
      ExplicitLeft = 610
      ExplicitTop = 476
    end
    object RzDBLabel1: TRzDBLabel [6]
      Left = 479
      Top = 496
      Width = 65
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dq_checkstaff'
      DataSource = dsBase
    end
    object RzDBLabel2: TRzDBLabel [7]
      Left = 348
      Top = 496
      Width = 65
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dq_checkdate'
      DataSource = dsBase
    end
    object RzDBLabel3: TRzDBLabel [8]
      Left = 112
      Top = 476
      Width = 180
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9552329
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dq_versionno'
      DataSource = dsBase
    end
    object edtCustomer: TRzDBEdit [9]
      Left = 59
      Top = 52
      Width = 60
      Height = 21
      DataSource = dsBase
      DataField = 'dq_cno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
      OnDblClick = edtCustomerDblClick
    end
    object cxDBTextEdit3: TRzDBEdit [10]
      Left = 59
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dq_ccontact'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 3
    end
    object cbxCurrency: TRzDBComboBox [11]
      Left = 451
      Top = 76
      Width = 60
      Height = 21
      DataField = 'dq_mcode'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 14
      OnChange = cbxCurrencyPropertiesChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBTextEdit7: TRzDBEdit [12]
      Left = 514
      Top = 76
      Width = 58
      Height = 21
      DataSource = dsBase
      DataField = 'dq_rate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 15
    end
    object cxDBMemo1: TRzDBMemo [13]
      Left = 451
      Top = 52
      Width = 121
      Height = 21
      DataField = 'dq_paymentmode'
      DataSource = dsBase
      TabOrder = 13
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBDateEdit3: TRzDBDateTimeEdit [14]
      Left = 660
      Top = 52
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dq_validdate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 19
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cbxPriceTerm: TRzDBComboBox [15]
      Left = 660
      Top = 76
      Width = 121
      Height = 21
      DataField = 'dq_priceterm'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 20
      OnDropDown = cbxPriceTermDropDown
    end
    object cxDBTextEdit12: TRzDBEdit [16]
      Left = 122
      Top = 52
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dq_csimpname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
    end
    object cxDBMemo2: TRzDBMemo [17]
      Left = 660
      Top = 124
      Width = 121
      Height = 21
      DataField = 'dq_remark'
      DataSource = dsBase
      TabOrder = 22
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit1: TRzDBEdit [18]
      Left = 255
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dq_no'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
    end
    object cbxStaff: TRzDBComboBox [19]
      Left = 255
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dq_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 7
    end
    object cbxCompany: TRzDBComboBox [20]
      Left = 59
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dq_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 0
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [21]
      Left = 660
      Top = 28
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dq_date'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 18
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    inherited pcDetails: TcxPageControl
      Top = 182
      Width = 817
      TabOrder = 23
      ExplicitTop = 182
      ExplicitWidth = 817
      ClientRectRight = 817
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 817
        ExplicitHeight = 223
        inherited grdDetails: TcxGrid
          Width = 817
          ExplicitWidth = 817
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                Column = xsje
              end
              item
                Kind = skSum
                Column = lr
              end
              item
                Kind = skAverage
                Column = lrl
              end
              item
                Kind = skSum
              end
              item
                Kind = skAverage
                Column = xsdj
              end
              item
                Kind = skAverage
                Column = cgdj
              end
              item
                Kind = skSum
                Column = tvDetailsQty
              end
              item
                Kind = skSum
                Column = xsjezrmb
              end
              item
                Kind = skSum
                Column = cgje
              end
              item
                Kind = skSum
              end
              item
                Kind = skCount
                Column = tvDetailsColumn2
              end
              item
                Kind = skSum
                Column = cgjezrmb
              end
              item
                Kind = skSum
                Column = tvDetailsYunfei
              end
              item
                Kind = skSum
                Column = tvDetailsOtherFee
              end
              item
                Kind = skSum
                Column = gs
              end
              item
                Kind = skSum
                Column = zzs
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              DataBinding.FieldName = 'dqi_serial'
              Visible = False
              HeaderAlignmentHorz = taCenter
              Options.Filtering = False
              Width = 33
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20869#37096#32534#21495
              DataBinding.FieldName = 'dqi_productno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.OnButtonClick = tvDetailsColumn2PropertiesButtonClick
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn [2]
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dqi_productenname'
              Width = 84
              Position.BandIndex = 1
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn [3]
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dqi_productcnname'
              Width = 90
              Position.BandIndex = 1
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object xsdj: TcxGridDBBandedColumn [4]
              Caption = #38144#21806#21333#20215
              DataBinding.FieldName = 'dqi_sellprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 17
              Position.RowIndex = 0
            end
            object cgdj: TcxGridDBBandedColumn [5]
              Caption = #37319#36141#21333#20215
              DataBinding.FieldName = 'dqi_buyprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Width = 78
              Position.BandIndex = 1
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsQty: TcxGridDBBandedColumn [6]
              Caption = #25968#37327
              DataBinding.FieldName = 'dqi_qty'
              Position.BandIndex = 1
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object xsje: TcxGridDBBandedColumn [7]
              Caption = #38144#21806#37329#39069
              DataBinding.FieldName = 'dqi_sellamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 18
              Position.RowIndex = 0
            end
            object xsjezrmb: TcxGridDBBandedColumn [8]
              Caption = #38144#21806#37329#39069#25240#20154#27665#24065
              DataBinding.FieldName = 'dqi_sellamtrmb'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Width = 100
              Position.BandIndex = 1
              Position.ColIndex = 19
              Position.RowIndex = 0
            end
            object cgje: TcxGridDBBandedColumn [9]
              Caption = #37319#36141#37329#39069
              DataBinding.FieldName = 'dqi_buyamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Width = 86
              Position.BandIndex = 1
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            object tvDetailsColumn18: TcxGridDBBandedColumn [10]
              Caption = #20135#21697#21517
              DataBinding.FieldName = 'dqi_productname'
              Width = 94
              Position.BandIndex = 1
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn19: TcxGridDBBandedColumn [11]
              Caption = #20135#21697#22411#21495
              DataBinding.FieldName = 'dqi_productrealno'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsYunfei: TcxGridDBBandedColumn [12]
              Caption = #36816#36153
              DataBinding.FieldName = 'dqi_carriage'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Width = 63
              Position.BandIndex = 1
              Position.ColIndex = 12
              Position.RowIndex = 0
            end
            object tvDetailsOtherFee: TcxGridDBBandedColumn [13]
              Caption = #25253#20851#36153
              DataBinding.FieldName = 'dqi_otherfee'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 14
              Position.RowIndex = 0
            end
            object tvDetailsColumn24: TcxGridDBBandedColumn [14]
              Caption = 'FOB'#21333#20215
              DataBinding.FieldName = 'dqi_fobprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 20
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 1
              Position.ColIndex = 21
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 5
            end
            object lr: TcxGridDBBandedColumn
              Caption = #21033#28070
              DataBinding.FieldName = 'dqi_profit'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 22
              Position.RowIndex = 0
            end
            object lrl: TcxGridDBBandedColumn
              Caption = #21033#28070#29575'(%)'
              DataBinding.FieldName = 'dqi_profitrate'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 23
              Position.RowIndex = 0
            end
            object tvDetailsColumn12: TcxGridDBBandedColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'dqi_remark'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 25
              Position.RowIndex = 0
            end
            object tvDetailsUnit: TcxGridDBBandedColumn
              Caption = #21333#20301
              DataBinding.FieldName = 'dqi_unit'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsFactory: TcxGridDBBandedColumn
              Caption = #24037#21378
              DataBinding.FieldName = 'dqi_fsimpname'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Options.Editing = False
              Width = 90
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn
              Caption = #37319#36141#24065#21035
              DataBinding.FieldName = 'dqi_buymcode'
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #37319#36141#27719#29575
              DataBinding.FieldName = 'dqi_buyrate'
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object cgjezrmb: TcxGridDBBandedColumn
              Caption = #37319#36141#37329#39069#25240#20154#27665#24065
              DataBinding.FieldName = 'dqi_buyamtrmb'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Width = 100
              Position.BandIndex = 1
              Position.ColIndex = 15
              Position.RowIndex = 0
            end
            object tvDetailsRatio: TcxGridDBBandedColumn
              Caption = #31995#25968
              DataBinding.FieldName = 'dqi_ratio'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DecimalPlaces = 3
              Properties.DisplayFormat = '0.000;-,0.000'
              Position.BandIndex = 1
              Position.ColIndex = 16
              Position.RowIndex = 0
            end
            object gs: TcxGridDBBandedColumn
              Caption = #20851#31246
              DataBinding.FieldName = 'dqi_tariff'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            object zzs: TcxGridDBBandedColumn
              Caption = #22686#20540#31246
              DataBinding.FieldName = 'dqi_valueaddtax'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 1
              Position.ColIndex = 13
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn
              Caption = 'HS'#32534#30721
              DataBinding.FieldName = 'dqi_hscode'
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn
              Caption = #22411#21495#25551#36848
              DataBinding.FieldName = 'dqi_productdesc'
              Width = 90
              Position.BandIndex = 1
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn10: TcxGridDBBandedColumn
              Caption = #20132#36135#26399
              DataBinding.FieldName = 'dqi_delidate'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 24
              Position.RowIndex = 0
            end
            object tvDetailsColumn11: TcxGridDBBandedColumn
              Caption = '...'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Caption = #26597#30475
                  Default = True
                  Kind = bkText
                end>
              Properties.ViewStyle = vsButtonsOnly
              Properties.OnButtonClick = tvDetailsColumn11PropertiesButtonClick
              HeaderAlignmentHorz = taCenter
              Width = 40
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    object RzDBEdit2: TRzDBEdit [23]
      Left = 451
      Top = 28
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dq_projectno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 12
    end
    object RzDBEdit3: TRzDBEdit [24]
      Left = 255
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dq_deliarea'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
    end
    object cbxTransport: TRzDBComboBox [25]
      Left = 59
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dq_transporttype'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 4
      OnDropDown = cbxTransportDropDown
    end
    object RzDBMemo1: TRzDBMemo [26]
      Left = 255
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dq_delidate'
      DataSource = dsBase
      TabOrder = 10
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBMemo2: TRzDBMemo [27]
      Left = 660
      Top = 100
      Width = 121
      Height = 21
      DataField = 'dq_versiondesc'
      DataSource = dsBase
      TabOrder = 21
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBEdit4: TRzDBEdit [28]
      Left = 451
      Top = 100
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dq_productname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 16
    end
    object RzDBNumericEdit1: TRzDBNumericEdit [29]
      Left = 59
      Top = 124
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dq_qty'
      ReadOnly = True
      Alignment = taLeftJustify
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 5
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit2: TRzDBNumericEdit [30]
      Left = 255
      Top = 124
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dq_amt'
      ReadOnly = True
      Alignment = taLeftJustify
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 11
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBEdit5: TRzDBEdit [31]
      Left = 451
      Top = 124
      Width = 121
      Height = 21
      DataSource = dsBase
      DataField = 'dq_batchno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 17
    end
    object cbxDepartment: TRzDBComboBox [32]
      Left = 318
      Top = 52
      Width = 57
      Height = 21
      DataField = 'dq_department'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 8
    end
    inherited lcgRoot: TdxLayoutGroup
      AlignVert = avParentManaged
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      CaptionOptions.Text = #20135#21697#26126#32454
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 3
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 4
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem24: TdxLayoutItem
      CaptionOptions.Text = #20844#21496
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cbxCompany
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup3: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem4: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #23458#25143
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcMainGroup3
      Control = edtCustomer
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem4CaptionClick
      Index = 0
    end
    object lcMainItem19: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup3
      Control = cxDBTextEdit12
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #32852#31995#20154
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem5CaptionClick
      Index = 2
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #36816#36755#26041#24335
      Parent = lcgBaseInfoLeft
      Control = cbxTransport
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem26: TdxLayoutItem
      CaptionOptions.Text = #25968#37327
      Parent = lcgBaseInfoLeft
      Control = RzDBNumericEdit1
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #25253#20215#21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup4: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoMiddle
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem3: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #19994#21153#21592
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup4
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #20132#36135#22320#28857
      Parent = lcgBaseInfoMiddle
      Control = RzDBEdit3
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem8: TdxLayoutItem
      CaptionOptions.Text = #20132#36135#26399
      Parent = lcgBaseInfoMiddle
      Control = RzDBMemo1
      Index = 3
    end
    object lcMainItem27: TdxLayoutItem
      CaptionOptions.Text = #37329#39069
      Parent = lcgBaseInfoMiddle
      Control = RzDBNumericEdit2
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #39033#30446
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = RzDBEdit2
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem6CaptionClick
      Index = 0
    end
    object lcMainItem12: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#26041#24335
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem12CaptionClick
      Index = 1
    end
    object lcMainGroup1: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 2
    end
    object lcMainItem9: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24065#21035
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup1
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem10: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup1
      Control = cxDBTextEdit7
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem25: TdxLayoutItem
      CaptionOptions.Text = #36135#29289#25688#35201
      Parent = lcgBaseInfoRight
      Control = RzDBEdit4
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem28: TdxLayoutItem
      CaptionOptions.Text = #25209#21495
      Parent = lcgBaseInfoRight
      Control = RzDBEdit5
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #25253#20215#26085#26399
      Parent = lcgBaseInfoLast
      Control = cxDBDateEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem15: TdxLayoutItem
      CaptionOptions.Text = #25253#20215#26377#25928#26399
      Parent = lcgBaseInfoLast
      Control = cxDBDateEdit3
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem16: TdxLayoutItem
      CaptionOptions.Text = #20215#26684#26465#27454
      Parent = lcgBaseInfoLast
      Control = cbxPriceTerm
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem17: TdxLayoutItem
      CaptionOptions.Text = #29256#26412#35828#26126
      Parent = lcgBaseInfoLast
      Control = RzDBMemo2
      Index = 3
    end
    object lcMainItem20: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoLast
      Control = cxDBMemo2
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem18: TdxLayoutItem
      CaptionOptions.Text = #25253#20215#29256#26412
      Parent = lcgArchive
      Control = RzDBLabel3
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcgArchive4: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Offsets.Right = 10
      Parent = lcgArchive
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 2
    end
    object lcMainItem22: TdxLayoutItem
      CaptionOptions.Text = #21333#25454#29366#24577
      Parent = lcgArchive4
      Control = cxDBLabel2
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem11: TdxLayoutItem
      CaptionOptions.Text = #23457#25209#20154
      Parent = lcgArchive4
      Control = RzDBLabel1
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcgArchive3: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Offsets.Right = 10
      Parent = lcgArchive
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 1
    end
    object lcMainItem21: TdxLayoutItem
      CaptionOptions.Text = #23457#25209#29366#24577
      Parent = lcgArchive3
      Control = cxDBLabel1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem14: TdxLayoutItem
      CaptionOptions.Text = #23457#25209#26085#26399
      Parent = lcgArchive3
      Control = RzDBLabel2
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem23: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup4
      Control = cbxDepartment
      ControlOptions.ShowBorder = False
      Index = 1
    end
  end
  inherited pnlRight: TPanel
    Left = 871
    ExplicitLeft = 871
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited dxStatusBar1: TdxStatusBar
    Width = 1071
    ExplicitWidth = 1071
  end
  inherited BarManager: TdxBarManager
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheckRequest'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheck'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnHistory'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnReQuotation'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxBarSubItem1'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnRemind'
        end>
    end
    object bbtnCheckRequest: TdxBarButton
      Caption = #30003#35831#23457#25209
      Category = 0
      Hint = #30003#35831#23457#25209
      Visible = ivAlways
      ImageIndex = 167
      OnClick = bbtnCheckRequestClick
    end
    object bbtnCheck: TdxBarButton
      Caption = #23457#25209
      Category = 0
      Hint = #23457#25209
      Visible = ivAlways
      ImageIndex = 225
      OnClick = bbtnCheckClick
    end
    object bbtnConfirm: TdxBarButton
      Caption = #30830#35748
      Category = 0
      Hint = #30830#35748
      Visible = ivAlways
      ImageIndex = 299
    end
    object dxBarSubItem1: TdxBarSubItem
      Caption = #21333#25454#22788#29702
      Category = 0
      Visible = ivNever
      ImageIndex = 194
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxBarButton1'
        end
        item
          Visible = True
          ItemName = 'dxBarButton2'
        end
        item
          Visible = True
          ItemName = 'dxBarButton3'
        end
        item
          Visible = True
          ItemName = 'dxBarButton4'
        end>
    end
    object dxBarButton1: TdxBarButton
      Caption = #24050#25253#20215
      Category = 0
      Hint = #24050#25253#20215
      Visible = ivAlways
      OnClick = dxBarButton1Click
    end
    object dxBarButton2: TdxBarButton
      Caption = #32487#32493#21830#35848
      Category = 0
      Hint = #32487#32493#21830#35848
      Visible = ivAlways
      OnClick = dxBarButton2Click
    end
    object dxBarButton3: TdxBarButton
      Caption = #24050#25509#21463
      Category = 0
      Hint = #24050#25509#21463
      Visible = ivAlways
      OnClick = dxBarButton3Click
    end
    object dxBarButton4: TdxBarButton
      Caption = #20316#24223
      Category = 0
      Hint = #20316#24223
      Visible = ivAlways
      OnClick = dxBarButton4Click
    end
    object bbtnReQuotation: TdxBarButton
      Caption = #37325#26032#25253#20215
      Category = 0
      Hint = #37325#26032#25253#20215
      Visible = ivAlways
      ImageIndex = 241
      OnClick = bbtnReQuotationClick
    end
    object bbtnHistory: TdxBarSubItem
      Caption = #21382#21490#25253#20215
      Category = 0
      Visible = ivAlways
      ImageIndex = 306
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnHistory1'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory2'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory3'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory4'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory5'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory6'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory7'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory8'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory9'
        end
        item
          Visible = True
          ItemName = 'bbtnHistory10'
        end>
      OnPopup = bbtnHistoryPopup
    end
    object bbtnHistory1: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory2: TdxBarButton
      Tag = 1
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory3: TdxBarButton
      Tag = 2
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory4: TdxBarButton
      Tag = 3
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory5: TdxBarButton
      Tag = 4
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory6: TdxBarButton
      Tag = 5
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory7: TdxBarButton
      Tag = 6
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory8: TdxBarButton
      Tag = 7
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory9: TdxBarButton
      Tag = 8
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnHistory10: TdxBarButton
      Tag = 9
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivNever
      OnClick = HistoryButtonClick
    end
    object bbtnRemind: TdxBarButton
      Caption = #25552#37266
      Category = 0
      Hint = #25552#37266
      Visible = ivAlways
      ImageIndex = 217
      OnClick = bbtnRemindClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dq_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dq_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dq_date'
        DataType = datDateTime
      end
      item
        Name = 'dq_cid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dq_cno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_ccontact'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_fax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_staffid'
        DataType = datGuid
      end
      item
        Name = 'dq_priceterm'
        DataType = datString
        Size = 60
      end
      item
        Name = 'dq_paymentmode'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dq_transporttype'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_deliarea'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_delidate'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dq_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dq_rate'
        DataType = datFloat
      end
      item
        Name = 'dq_checkstate'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dq_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dq_confirmdate'
        DataType = datDateTime
      end
      item
        Name = 'dq_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dq_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dq_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dq_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dq_checkstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_checkdate'
        DataType = datDateTime
      end
      item
        Name = 'dq_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_oid'
        DataType = datGuid
      end
      item
        Name = 'dq_oiid'
        DataType = datInteger
      end
      item
        Name = 'dq_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_amt'
        DataType = datFloat
      end
      item
        Name = 'dq_ratio'
        DataType = datFloat
      end
      item
        Name = 'dq_projectid'
        DataType = datGuid
      end
      item
        Name = 'dq_projectno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_projectrealno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_versionno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_batchno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_versiondesc'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dq_isactive'
        DataType = datBoolean
      end
      item
        Name = 'dq_checkrequeststaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dq_checkrequestid'
        DataType = datGuid
      end
      item
        Name = 'dq_qty'
        DataType = datFloat
      end
      item
        Name = 'dq_validdate'
        DataType = datDateTime
      end>
    LogicalName = 'd_quotation'
    Left = 300
    Top = 194
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
    Top = 186
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dqi_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dqi_serial'
        DataType = datFloat
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dqi_productid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dqi_productno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dqi_productrealno'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dqi_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dqi_productcnname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dqi_productenname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dqi_productdesc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dqi_sellprice'
        DataType = datFloat
        OnValidate = tblDetailsdqi_sellpriceValidate
      end
      item
        Name = 'dqi_sellamt'
        DataType = datFloat
      end
      item
        Name = 'dqi_sellamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dqi_buymcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dqi_buyrate'
        DataType = datFloat
        OnValidate = tblDetailsdqi_buyrateValidate
      end
      item
        Name = 'dqi_buyprice'
        DataType = datFloat
        OnValidate = tblDetailsdqi_buypriceValidate
      end
      item
        Name = 'dqi_buyamt'
        DataType = datFloat
      end
      item
        Name = 'dqi_buyamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dqi_fid'
        DataType = datGuid
      end
      item
        Name = 'dqi_fsimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dqi_qty'
        DataType = datFloat
        OnValidate = tblDetailsdqi_qtyValidate
      end
      item
        Name = 'dqi_ratio'
        DataType = datFloat
        OnValidate = tblDetailsdqi_ratioValidate
      end
      item
        Name = 'dqi_profit'
        DataType = datFloat
      end
      item
        Name = 'dqi_profitrate'
        DataType = datFloat
      end
      item
        Name = 'dqi_carriage'
        DataType = datFloat
        OnValidate = tblDetailsdqi_carriageValidate
      end
      item
        Name = 'dqi_tariff'
        DataType = datFloat
        OnValidate = tblDetailsdqi_tariffValidate
      end
      item
        Name = 'dqi_valueaddtax'
        DataType = datFloat
        OnValidate = tblDetailsdqi_valueaddtaxValidate
      end
      item
        Name = 'dqi_otherfee'
        DataType = datFloat
        OnValidate = tblDetailsdqi_otherfeeValidate
      end
      item
        Name = 'dqi_remark'
        DataType = datString
        Size = 60
      end
      item
        Name = 'dqi_unit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dqi_order'
        DataType = datInteger
      end
      item
        Name = 'dqi_hscode'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dqi_delidate'
        DataType = datString
        Size = 60
      end>
    MasterMappingMode = mmWhere
    MasterSource = dsBase
    MasterFields = 'dq_id'
    DetailFields = 'dqi_pid'
    LogicalName = 'd_quotationitem'
    Left = 60
    Top = 286
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
    Left = 94
    Top = 286
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
end
